#ifndef LISTE_H_INCLUDED
#define LISTE_H_INCLUDED

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "arbre_evaluation.h"

#define SYMBOLE_ACTION 0
#define SYMBOLE_VARIABLE 1
#define SYMBOLE_CONSTANTE 2
#define SYMBOLE_ALGO 3
#define SYMBOLE_FONCTION 4
#define SYMBOLE_VARIABLE_USER 5

#define ACTION_BUTINER 0
#define ACTION_RECHARGER 1
#define ACTION_DECHARGER 2
#define ACTION_ATTAQUER 3
#define ACTION_AVANCER 4
#define ACTION_DEPLACER 5

#define FONCTION_GRILLE 0
#define FONCTION_FLEUR 1
#define FONCTION_ESTLIBRE 2
#define FONCTION_NECTAR 3
#define FONCTION_DISTANCE 4
#define FONCTION_ENNEMIE 5

typedef struct symbole{
	char * nom;
	int type;
	void * valeur;
	struct instruction * instruction;
	struct arbre * param1;
	struct arbre * param2;
	struct symbole * suivant;
}symbole;

#endif
